import request from '@/utils/request'

// 查询卡口补录列列表
export function listPassGateRecordList(query) {
  return request({
    url: '/system/passGateRecordList/list',
    method: 'get',
    params: query
  })
}

// 查询卡口补录列详细
export function getPassGateRecordList(id) {
  return request({
    url: '/system/passGateRecordList/' + id,
    method: 'get'
  })
}

// 新增卡口补录列
export function addPassGateRecordList(data) {
  return request({
    url: '/system/passGateRecordList',
    method: 'post',
    data: data
  })
}

// 修改卡口补录列
export function updatePassGateRecordList(data) {
  return request({
    url: '/system/passGateRecordList',
    method: 'put',
    data: data
  })
}

// 删除卡口补录列
export function delPassGateRecordList(id) {
  return request({
    url: '/system/passGateRecordList/' + id,
    method: 'delete'
  })
}

// 导出卡口补录列
export function exportPassGateRecordList(query) {
  return request({
    url: '/system/passGateRecordList/export',
    method: 'get',
    params: query
  })
}